#ifndef __TUNER_CETON_STUFF
#define __TUNER_CETON_STUFF

/*
 *   This file is part of ed_pvr.
 *
 *   ed_pvr is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   ed_pvr is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with ed_pvr.  If not, see <http://www.gnu.org/licenses/>.
 */


#ifdef __cplusplus
    extern "C" {
#endif

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <pthread.h>
#include <curl/curl.h>
#include "device.h"
#include "win.h"


struct tuner_ceton_struct
{
	DEVICE_STRUCT *device;
	CURL *curl_handle;
	pthread_mutex_t init_mutex;
	pthread_mutex_t curl_mutex;
	char *device_ip;
	char *device_path;
//	pthread_mutex_t curses_mutex;
	NCURSES_SCREEN *screen;
};
typedef struct tuner_ceton_struct TUNER_CETON_STRUCT;

TUNER_CETON_STRUCT * tuner_ceton_init(DEVICE_INIT_ARGS_STRUCT *);
#ifdef __cplusplus
    }
#endif


#endif
